<html>

<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
	<title>Confirmar Exclusão</title>
</head>

<body>
	<center>
		<table border = '1px' width = '100%'>
			<?php include_once "/layout/header.php" ?>
				<tr>
			<?php include_once "/layout/menuCliente.php" ?>
				<td>
					<h2>Confirma a Exclusao do seguinte Cliente:</h2></br>
					
						<form action = "cliente/gerenciarCliente.php" method = "POST">
							<?php REQUIRE_ONCE "/includes/config.inc.php";
							
							$idCliente = $_GET["usr"];
							
							echo "<input type ='hidden' name ='metodo' value ='remover' />";
							echo "<input type ='hidden' name = 'idCliente' value = '".$idCliente."'/>";
							
							$sql = "SELECT * from tbCliente where idCliente = ".$idCliente;
							$result = mysql_query($sql);
							
							$row = mysql_fetch_assoc($result);
							$nomeCliente = $row['nomeCliente'];
							$cpfCliente = $row['cpfCliente'];
							$rgCliente = $row['rgCliente'];
						?>
						
						Nome: <?php echo $nomeCliente ?> </br>
						CPF: <?php echo $cpfCliente ?> </br>
						RG: <?php echo $rgCliente ?> </br>
						
						<input type = "submit" value = "Excluir"/></br>
						<input type = "button" value = "Cancelar" onClick = "history.back();"/>
						
						</form>
					</td>
				</tr>
			<?php include_once "/layout/footer.php" ?>
		</table>
	</center>
</body>

</html>